				<div class="poll">
					<p class="judulpoll5"> Welcome to Polls Result System</p>
					<p class=" judulpoll droid" >See Result by Topics                  </p>
					<p>List of Available Polls Topics:</p>
                                        <?php
                                            if (count($list_topik)>0){
                                                echo "
                					<p id='page'>Page: ";
                                                    for ($i=1;$i<=$tab;$i++){
                                                        echo "<a href='".base_url()."polling/polling_con/home_topic/".$i."'>".$i."</a>
                                                        ";
                                                    }
                                            }
                                        ?>
				</div>
				<div class="clear"></div>
				<div class="bagbawah">
					  <table border="0" cellpadding="0" cellspacing="0" id="polltable">
						<tr class="thpoll">
						  <th class="droid">Poll Title:</th>
						  <th colspan="2" class="tdpoll droid">Participant:</th>
						</tr>
                                                <?php
                                                    if (isset($list_topik)){
                                                        for ($i=0;$i<count($list_topik);$i++) {
                                                            echo "<tr>
                                                              <td><a href='".base_url()."polling/polling_con/polling_topic/".$list_topik[$i]['ID_TEMA']."'>".$list_topik[$i]['NAMA_TEMA']."</a></td>
                                                              <td class='tdpoll'>";
                                                                if (isset($list_topik[$i]['jumlah_course'])) echo $list_topik[$i]['jumlah_course']." Classes"; //else echo "0 Class";
                                                               echo "</td>
                                                              <td class='tdpoll'>";
                                                               if (isset($list_topik[$i]['jumlah_responden'])) echo $list_topik[$i]['jumlah_responden']." Respondens"; //else echo "0 Responden";
                                                               echo "</td>
                                                            </tr>";

    //                                                        echo $list_topik[$i]['NAMA_TEMA']."<br>";
                                                        }
                                                    }
                                                ?>
                                                <!--
						<tr>
						  <td><a href="<?php echo base_url()?>polling/polling_con/polling_topic">Fav Thing</a></td>
						  <td class="tdpoll">2 Classes</td>
						  <td class="tdpoll">14 Respondens</td>
						</tr>
						<tr>
						  <td><a href="bytopic2.html">Satisfaction Survey</a></td>
						  <td class="tdpoll">5 Classes</td>
						  <td class="tdpoll">52 Respondens</td>
						</tr>
						<tr>
						  <td><a href="bytopic2.html">Kuesioner Modul</a></td>
						  <td class="tdpoll">4 Classes</td>
						  <td class="tdpoll">30 Respondens</td>
						</tr>
						<tr>
						  <td><a href="bytopic2.html">Kuesioner Akhir</a></td>
						  <td class="tdpoll">4 Classes</td>
						  <td class="tdpoll">34 Respondens</td>
						</tr>-->
					  </table>
				</div><!-- end div class bagbawah -->  
			